using System;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;

namespace Acme.BookStore.Domain.Entities
{
    [Table("RFIDTable")]
    public class Rfid : Entity<string>
    {
        [Column("business_number")]
        public override string Id { get; protected set; }

        [Column("rfid1")]
        public string Rfid1 { get; set; }

        [Column("creation_date")]
        public DateTime CreationDate { get; set; }

        [Column("creator_login_name")]
        public string CreatorLoginName { get; set; }

        [Column("type")]
        public string Type { get; set; }

        [Column("business_content")]
        public string BusinessContent { get; set; }

        [Column("rfid2")]
        public string Rfid2 { get; set; }

        [Column("rfid3")]
        public string Rfid3 { get; set; }

        protected Rfid()
        {
        }

        public Rfid(string businessNumber) : base(businessNumber)
        {
            Id = businessNumber;
        }
    }
} 